package org.budo.dubbo.protocol.http;

/**
 * 一些常量
 * 
 * @author lmw
 */
public interface Consts {
    String UTF_8 = "UTF-8";

    String SerializationDefault = "fastjson";

    String ApplicationJson = "application/json";

    String[] AttachmentKeys = { HeaderKey.Sign, HeaderKey.Time, HeaderKey.AppKey, HeaderKey.InterfaceName, HeaderKey.MethodName };

    interface HeaderKey {
        String ResultType = "resultType";

        String InterfaceName = "interfaceName";

        String MethodName = "methodName";

        String ViewRender = "viewRender";

        String InvocationAdapter = "invocationAdapterType";

        String Serialization = "_serialization";

        String AppKey = "_app_key";

        String Time = "_time";

        String Sign = "_sign";

        String ContentType = "Content-Type";
    }
}